package com.wzx.user.sdk.common.oss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author bigboss
 * @date 2021/6/2 - 16:34
 */
@Data
@ConfigurationProperties(prefix = "demoservice.oss")
@Component
public class OssProperties {
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
    /**
     * 默认：sztanhua.oss-cn-shenzhen.aliyuncs.com
     */
    private String url;
}
